doe_model_diagnostics Function

public function doe_model_diagnostics(mdl, x, y) result(diag)

Computes model diagnostics and goodness-of-fit metrics.

Arguments

Type IntentOptional Attributes Name
class(doe_model), intent(in) :: mdl

The fitted DOE model.

real(kind=real64), intent(in), dimension(:,:) :: x

The M-by-N matrix of factor values used in model fitting.

real(kind=real64), intent(in), dimension(:) :: y

The M-element array of observed responses.

Return Value type(doe_diagnostics)

The resulting diagnostics.